package kr.hayarobee.jaringobi.model;

import java.util.ArrayList;
import java.util.List;

public class AccountBook {
	
	private List<Bill> list;
	
	public AccountBook() {}
	
	public void initialize() {
		this.list = new ArrayList<Bill>();
	}

	public void keeping(Bill bill) {
		this.list.add(bill);
	}

	public List<Bill> getList() {
		List<Bill>clone = new ArrayList<Bill>(this.list);
		return clone;
	}

}
